<div class="x_panel">
  <div class="x_content" style="display: block;">
    <!--表格主体内容-->
    <div class="nav navbar-right panel_toolbox">
      <a class="fa fa-plus" href="/paper/add.html?paper_type={$paper_type}"> 添加</a>
    </div>
    <br><br>
    <div class="cont">
      <table class="table table-bordered table-striped">
        <thead>
        <tr>
          <!--<th width="100px"></th>-->
          <th width="100px">ID</th>
          <th>试题模板</th>
          <th>操作</th>
        </tr>
        </thead>
        <tbody>
        {foreach $paper.lists as $paperitem}
        <tr>
          <!--<td><input type="checkbox" name="form[paper_id]" value="{$paperitem.paper_id}"/></td>-->
          <td>{$paperitem.paper_id}</td>
          <td>{$paperitem.paper_name}</td>
          <td>
            <div class="x_content">
              <a class="btn btn-primary btn-xs" href="{eval U(['paper/edit','paper_id'=>$paperitem.paper_id])}"> 编辑</a>

              <a class="btn btn-primary btn-xs" href="{eval U(['paper/copy','paper_id'=>$paperitem.paper_id])}"> 复制</a>

              <button class="btn btn-danger btn-xs" data-toggle="dropdown">删除
                <i class="icon-angle-down"></i></button>
              <ul class="dropdown-menu">
                <li><a href="{eval U(['paper/delete','paper_id'=>$paperitem.paper_id])}">确定</a></li>
                <li><a href="javascript:;">取消</a></li>
              </ul>
            </div>
          </td>
        </tr>
        {/foreach}
        </tbody>
      </table>
    </div>
  </div>
</div>

